<?php

namespace App\Models;

use Slowlyo\OwlAdmin\Models\BaseModel as Model;

class PreCommonMember extends Model
{

	protected $table = 'pre_common_member';

	public $timestamps = false;

	public $connection = 'bbs';

	public $primaryKey = 'uid';

	public function profile()
	{
		return $this->hasOne(PreCommonMemberProfile::class, 'uid', 'uid');
	}

	public function count()
	{
		return $this->hasOne(PreCommonMemberCount::class, 'uid', 'uid');
	}
}
